package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "欠税信息")
public class BusinessArrears implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    //remove attribute-->business
    @ApiModelProperty(value = "纳税人识别号")
    private String taxpayerIdentity;
    @ApiModelProperty(value = "欠税税种")
    private Integer category;
    @ApiModelProperty(value = "欠税税种")
    private String categoryName;
    @ApiModelProperty(value = "欠税余额")
    private BigDecimal balance;
    @ApiModelProperty(value = "当前新发生的欠税额")
    private BigDecimal money;
    @ApiModelProperty(value = "发布时间")
    private Date publishTime;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaxpayerIdentity() {
        return taxpayerIdentity;
    }

    public void setTaxpayerIdentity(String taxpayerIdentity) {
        this.taxpayerIdentity = taxpayerIdentity == null ? null : taxpayerIdentity.trim();
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    @Override
    public String toString() {
        return "BusinessArrears{" +
                "id=" + id +
                ", taxpayerIdentity='" + taxpayerIdentity + '\'' +
                ", category=" + category +
                ", categoryName='" + categoryName + '\'' +
                ", balance=" + balance +
                ", money=" + money +
                ", publishTime=" + publishTime +
                ", enterId=" + enterId +
                '}';
    }
}